翻訳と辞書
Words near each other
・ Resource depletion
・ Resource Description and Access
・ Resource Description Framework
・ Resource Development International
・ Resource Directory Description Language
・ Resource distribution
・ Resource efficiency
・ Resource Extraction Monitoring
・ Resource fork
・ Resource fragmentation hypothesis
・ Resource Hacker
・ Resource holding potential
・ Resource intensity
・ Resource Interchange File Format
・ Resource Kit
Resource leak
・ Resource leveling
・ Resource Link Charter School
・ REsource LOcation And Discovery Framing
・ Resource Magazine
・ Resource management
・ Resource management (computing)
・ Resource management (disambiguation)
・ Resource Management Act 1991
・ Resource Management Law Association
・ Resource Management System
・ Resource map
・ Resource Measurement Facility
・ Resource mobilization
・ Resource Monitor


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Resource leak : ウィキペディア英語版
Resource leak
In computer science, a resource leak is a particular type of resource consumption by a computer program where the program does not release resources it has acquired. This condition is normally the result of a bug in a program. Typical resource leaks include memory leak and handle leak, particularly file handle leaks, though memory is often considered separately from other resources.〔.〕
Examples of resources available in limited numbers to the operating system include internet sockets, file handles, process table entries, and process identifiers (PIDs). Resource leaks are often a minor problem, causing at most minor slowdown and being recovered from after processes terminate. In other cases resource leaks can be a major problem, causing resource starvation and severe system slowdown or instability, crashing the leaking process, other processes, or even the system.〔.〕 Resource leaks often go unnoticed under light load and short runtimes, and these problems only manifest themselves under heavy system load or systems that remain running for long periods of time.〔.〕
Resource leaks are particularly a problem for resources available in very low quantities. Leaking a unique resource, such as a lock, is particularly serious, as this causes immediate resource starvation (it prevents other processes from acquiring it) and causes deadlock. Intentionally leaking resources can be used in a denial-of-service attack, such as a fork bomb, and thus resource leaks present a security bug.
==Causes==
Resource leaks are generally due to programming errors: resources that have been acquired must be released, but since release often happens substantially after acquisition, and many things may occur in the meantime (e.g., an exception being thrown or abnormal program termination) it is easy for release to be missed.
A very common example is failing to close files that have been opened, which leaks a file handle; this also occurs with pipes. Another common example is a parent process failing to call wait on a child process, which leaves the completed child process as a zombie process, leaking a process table entry.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Resource leak」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.